/**
 * 产品FX报表初始化
 */
var OptionReport = {
    id: "OptionReportTable",	//表格id
    seItem: null,		//选中的条目
    table: null,
    layerIndex: -1
};

/**
 * 初始化表格的列
 */
OptionReport.initColumn = function () {
    return [
        {field: 'selectItem', radio: false, visible: false},
        {title: 'Status', field: '', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Expiry Date', field: 'expiryDate', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Delivery Date', field: 'deliveryDate', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Trade Date', field: 'tradeDate', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Buy/Sell', field: 'buySell', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Product Level 3', field: 'productLevel3', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Ccy1', field: 'currency1', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Notional Value', field: 'notional', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Ccy2', field: 'currency2', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Counter value', field: 'counterValue', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Strike', field: 'strike', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Premium (USD)', field: 'premiumAmount', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'MTM (USD)', field: 'midPrice', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Delta (Ccy1)', field: 'delta', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Vega (USD)', field: 'vega', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Gamma (Ccy1)', field: 'gamma', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Theta (USD)', field: 'theta', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Strategy Code', field: 'strategyCode', visible: true, align: 'center', valign: 'middle', width: '100px'},
        {title: 'Gamma/Vega add-on', field: 'gammaVega', visible: true, align: 'center', valign: 'middle', width: '100px'},
    ];
};